<template>
  <span class="tips">
    <div class="title" v-if="title">{{title}}</div>
    <slot name="content"></slot>
  </span>
</template>
<script>
export default {
  name: 'SmallTip',
  props: {
    title: {
      type: String
    }
  }
}
</script>
<style lang="scss" scoped>
  .tips {
    color: #999;
    .title {
      font-weight: bold;
    }
  }
</style>
